import { GetterTree, ActionTree, MutationTree, createLogger } from 'vuex';

export const state = () => ({
});

export type RootState = ReturnType<typeof state>;

export const getters: GetterTree<RootState, RootState> = {};

export const mutations: MutationTree<RootState> = {};

export const actions: ActionTree<RootState, RootState> = {};

const debug = process.env.NODE_ENV !== 'production';

export const strict = debug;
export const plugins = debug ? [createLogger()] : [];
